<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use DB;

class CallController extends Controller
{
    //insert
    public function index()
    {
    	$data = DB::table('call') -> get();
    	return view('admin.call.index',['data' => $data]); 
    }

    //insert
    public function insert(Request $request)
    {
    	dd($data);
    }
}
